.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.layout {
  min-height: 100vh;
}

.site-layout-content {
  min-height: 280px;
  padding: 24px;
  background: #fff;
}

.ant-layout-header {
  position: fixed;
  z-index: 1;
  width: 100%;
}

.ant-layout-content {
  margin-top: 64px;
}

/* AG Grid theme overrides */
.ag-theme-alpine {
  --ag-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
  --ag-font-size: 14px;
  --ag-grid-size: 4px;
  --ag-list-item-height: 32px;
  --ag-cell-horizontal-border: 1px solid #f0f0f0;
  --ag-header-column-separator-display: block;
  --ag-header-column-separator-height: 100%;
  --ag-header-column-separator-color: #f0f0f0;
  --ag-header-column-resize-handle-color: #f0f0f0;
  --ag-header-column-resize-handle-height: 100%;
  --ag-header-column-resize-handle-width: 4px;
  --ag-header-column-resize-handle-display: block;
  --ag-header-column-resize-handle-hover-color: #1890ff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ant-layout-content {
    padding: 0 20px;
  }
  
  .site-layout-content {
    padding: 16px;
  }
}
